package com.jeesite.modules.wzt.dao;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.sys.entity.EmployeeOffice;
import com.jeesite.modules.wzt.entity.WztAsg;

/**
 * 任职属性DAO接口
 * @author xhc
 * @version 2023-03-30
 */
@MyBatisDao
public interface WztAsgDao extends CrudDao<WztAsg> {

    long updateEmployeeOffice(String userCode, String officeCode, String officeName);

    EmployeeOffice findEmployeeOffice(String sysUid, String officeCode);

    long deleteEmployeeOffice(String sysUid);

    void deleteEmployeeOfficeByOrgId(String sysUid, String officeCode);
}